package com.flash.BusinessData.entity;

public class MarketData {
//      行情ID
        private String  marketId;
//      证券ID
        private String  securityId;
//      录入时间
        private String  time;
//      开盘价格
        private double openingPrice;
//      收盘价格
        private double closingPrice;
//      基金ID
        private String fundId;
//      备注
        private String marketRemark;
        //证券名称
        private String securityName;

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public MarketData(){};

    public MarketData(String marketId, String securityId, String time, double openingPrice, double closingPrice, String fundId, String marketRemark) {
        this.marketId = marketId;
        this.securityId = securityId;
        this.time = time;
        this.openingPrice = openingPrice;
        this.closingPrice = closingPrice;
        this.fundId = fundId;
        this.marketRemark = marketRemark;
    }

    public String getMarketId() {
        return marketId;
    }


    public String getMarketId(String maxId) {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public double getOpeningPrice() {
        return openingPrice;
    }

    public void setOpeningPrice(double openingPrice) {
        this.openingPrice = openingPrice;
    }

    public double getClosingPrice() {
        return closingPrice;
    }

    public void setClosingPrice(double closingPrice) {
        this.closingPrice = closingPrice;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getMarketRemark() {
        return marketRemark;
    }

    public void setMarketRemark(String marketRemark) {
        this.marketRemark = marketRemark;
    }

    @Override
    public String toString() {
        return "MarketData{" +
                "marketId='" + marketId + '\'' +
                ", securityId='" + securityId + '\'' +
                ", time='" + time + '\'' +
                ", openingPrice=" + openingPrice +
                ", closingPrice=" + closingPrice +
                ", fundId='" + fundId + '\'' +
                ", marketRemark='" + marketRemark + '\'' +
                '}';
    }
}
